package com.chen.controller.admin.post.vo;

import com.chen.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "分页获取岗位的信息")

public class PostGetPageReqVO extends PageParam {

    @Schema(name = "name",description = "岗位名称",requiredMode = Schema.RequiredMode.REQUIRED,example = "窄门")
    private String name;

    @Schema(name = "status",description = "岗位的状态",requiredMode = Schema.RequiredMode.REQUIRED,example = "1")
    private Integer status;

    @Schema(name = "code",description = "岗位编码",requiredMode = Schema.RequiredMode.REQUIRED,example = "111")
    public String code;
}
